package com.suncaper.han_yi_system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.suncaper.han_yi_system.mapper")//扫描mybatis的mapper接口
@EnableTransactionManagement//开启事务管理
public class HanYiSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(HanYiSystemApplication.class, args);
    }

}
